#import <CoreData/CoreData.h>

@class RNItem;
@class RNCategory;
@class RNListItem;
@class RNStore;

@interface RNAisle :  NSManagedObject  
{
}

@property (retain) NSString * title;
@property (retain) RNStore * store;
@property (retain) NSSet* items;
@property (retain) NSSet* categories;
@property (retain) NSSet *listItems;
@property (retain) NSNumber *aisleNumber;

+(BOOL)showsChildren;
+(void)setShowsChildren:(BOOL)shouldShowChildren;
+(void)setCurrentListObject:(id)object;
+(id)currentListObject;

-(NSString *)storeAndAisleDisplayString;
-(NSNumber *)itemsCount;

@end

@interface RNAisle (CoreDataGeneratedAccessors)
- (void)addItemsObject:(RNItem *)value;
- (void)removeItemsObject:(RNItem *)value;
- (void)addItems:(NSSet *)value;
- (void)removeItems:(NSSet *)value;

- (void)addCategoriesObject:(RNCategory *)value;
- (void)removeCategoriesObject:(RNCategory *)value;
- (void)addCategories:(NSSet *)value;
- (void)removeCategories:(NSSet *)value;

- (void)addListItemsObject:(RNListItem *)value;
- (void)removeListItemsObject:(RNListItem *)value;
- (void)addListItems:(NSSet *)value;
- (void)removeListItems:(NSSet *)value;

@end

